package com.hand.demo.domain.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.choerodon.mybatis.annotation.ModifyAudit;
import io.choerodon.mybatis.annotation.VersionAudit;
import io.choerodon.mybatis.domain.AuditDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 技能表(HhrTaSkills)实体类
 *
 * @author
 * @since 2025-06-16 12:16:51
 */

@ApiModel("技能表")
@VersionAudit
@ModifyAudit
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@Table(name = "hhr_ta_skills")
public class HhrTaSkills extends AuditDomain {
    private static final long serialVersionUID = -93901171218905820L;

    public static final String FIELD_ID = "id";
    public static final String FIELD_RESUME_ID = "resumeId";
    public static final String FIELD_SKILLS_LEVEL = "skillsLevel";
    public static final String FIELD_SKILLS_NAME = "skillsName";
    public static final String FIELD_SKILLS_TIME = "skillsTime";
    public static final String FIELD_TENANT_ID = "tenantId";

    @ApiModelProperty("自增主键")
    @Id
    @GeneratedValue
    private Long id;

    @ApiModelProperty(value = "关联简历ID", required = true)
    @NotNull
    private Long resumeId;

    @ApiModelProperty(value = "个人模块")
    private String skillsLevel;

    @ApiModelProperty(value = "技能名词", required = true)
    @NotBlank
    private String skillsName;

    @ApiModelProperty(value = "使用时长")
    private String skillsTime;

    @ApiModelProperty(value = "租户ID", required = true)
    @NotNull
    private Long tenantId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getResumeId() {
        return resumeId;
    }

    public void setResumeId(Long resumeId) {
        this.resumeId = resumeId;
    }

    public String getSkillsLevel() {
        return skillsLevel;
    }

    public void setSkillsLevel(String skillsLevel) {
        this.skillsLevel = skillsLevel;
    }

    public String getSkillsName() {
        return skillsName;
    }

    public void setSkillsName(String skillsName) {
        this.skillsName = skillsName;
    }

    public String getSkillsTime() {
        return skillsTime;
    }

    public void setSkillsTime(String skillsTime) {
        this.skillsTime = skillsTime;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

}

